package interfacedemo;

public class PingPongAthlete extends Person implements LearnEnglish{
    public PingPongAthlete() {
    }
    public PingPongAthlete(String name,int age) {
        super(name,age);
    }
    @Override
    public void speakEnglish() {
        System.out.println("乒乓球运动员说英语");
    }
    @Override
    public void action() {
        System.out.println(getAge()+"岁的乒乓球学员"+getName()+"学乒乓球");
    }
}
